package com.chance.cc.crawler.prod.command.schedule.news.tianya;

import com.chance.cc.crawler.core.CrawlerJob;
import com.chance.cc.crawler.prod.command.job.domain.news.tianya.luntan.TianYaPurchaseCommentCrawlerScheduleJob;
import com.chance.cc.crawler.prod.command.schedule.CommonCrawlerJobSchedule;

/**
 * @author lt
 * @version 1.0
 * @date 2020-12-09 16:15:28
 * @email okprog@sina.com
 */
public class TianYaCrawlerJobSchedule extends CommonCrawlerJobSchedule {


    public static void main(String[] args) {
//        autoAgeCommentCrawlerScheduleJob(TianYaAutoAgeCommentCrawlerScheduleJob.tianYaAutoAgeCommentScheduler());//汽车时代评论
//        autoAgeArticleCrawlerScheduleJob(TianYaAutoAgeArticleCrawlerScheduleJob.tianYaAutoAgeArticleScheduler());//汽车时代文章
        purchaseCommentCrawlerScheduleJob(TianYaPurchaseCommentCrawlerScheduleJob.tianYaPurchaseCommentScheduler());//购车咨询评论
//        purchaseArticleCrawlerScheduleJob(TianYaPurchaseArticleCrawlerScheduleJob.tianYaPurchaseArticleScheduler());//购车咨询文章
    }

    public static void autoAgeCommentCrawlerScheduleJob(CrawlerJob crawlerJob){//发起工作文章-
        crawlerJobScheduleCommand_17.republishCrawlerJob(crawlerJob.generateCrawlerTriggerKey(),device_name_3);//
    }
    public static void autoAgeArticleCrawlerScheduleJob(CrawlerJob crawlerJob){//发起工作评论-
        crawlerJobScheduleCommand_17.republishCrawlerJob(crawlerJob.generateCrawlerTriggerKey(),device_name_3);//
    }
    public static void purchaseCommentCrawlerScheduleJob(CrawlerJob crawlerJob){//发起工作临时采集
        crawlerJobScheduleCommand_17.republishCrawlerJob(crawlerJob.generateCrawlerTriggerKey(),device_name_3);//
    }
    public static void purchaseArticleCrawlerScheduleJob(CrawlerJob crawlerJob){//发起工作临时采集
        crawlerJobScheduleCommand_17.republishCrawlerJob(crawlerJob.generateCrawlerTriggerKey(),device_name_3);//
    }

}
